  -- High Botanist Freywinn --
function spell0_17975(pUnit, Event) --@Plant Blue Seedling,n/a--
pUnit:FullCastSpellOnTarget(34762,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17975', 250, 1)
end
function spell1_17975(pUnit, Event) --@Plant Green Seedling,n/a--
pUnit:FullCastSpellOnTarget(34761,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17975', 250, 1)
end
function spell2_17975(pUnit, Event) --@Plant Red Seedling,n/a--
pUnit:FullCastSpellOnTarget(34763,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17975', 250, 1)
end
function spell3_17975(pUnit, Event) --@Plant White Seedling,n/a--
pUnit:FullCastSpellOnTarget(34759,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17975', 250, 1)
end
function spell4_17975(pUnit, Event) --@Summon Frayer Protector,n/a--
pUnit:FullCastSpellOnTarget(34557,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17975', 45423, 1)
end
function spell5_17975(pUnit, Event) --@Tranquility,Heal--
pUnit:FullCastSpellOnTarget(34550,pUnit)
pUnit:RegisterEvent('Sorts_17975', 45000, 1)
end
function spell6_17975(pUnit, Event) --@Tree Form,Heal--
pUnit:FullCastSpellOnTarget(34551,pUnit)
pUnit:RegisterEvent('Sorts_17975', 45429, 1)
end
function Sorts_17975(pUnit, Event)
choix_sorts_17975 = math.random(0, 6)
if choix_sorts_17975 == 0 then
pUnit:RegisterEvent('spell0_17975', 1, 1)
end
if choix_sorts_17975 == 1 then
pUnit:RegisterEvent('spell1_17975', 1, 1)
end
if choix_sorts_17975 == 2 then
pUnit:RegisterEvent('spell2_17975', 1, 1)
end
if choix_sorts_17975 == 3 then
pUnit:RegisterEvent('spell3_17975', 1, 1)
end
if choix_sorts_17975 == 4 then
pUnit:RegisterEvent('spell4_17975', 1, 1)
end
if choix_sorts_17975 == 5 then
pUnit:RegisterEvent('spell5_17975', 1, 1)
end
if choix_sorts_17975 == 6 then
pUnit:RegisterEvent('spell6_17975', 1, 1)
end
end
function mob17975_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17975', math.random(1500, 3000), 1)
end
function mob17975_Leave(pUnit, Event)
end
function mob17975_Kill(pUnit, Event)
end
function mob17975_Die(pUnit, Event)
pUnit:RemoveEvents();
end
RegisterUnitEvent(17975, 1, 'mob17975_Action')
RegisterUnitEvent(17975, 2, 'mob17975_Leave')
RegisterUnitEvent(17975, 3, 'mob17975_Kill')
RegisterUnitEvent(17975, 4, 'mob17975_Die')
